package com.qf.dao;

import com.qf.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserDao {

    public List<User> findAll();


    @Select("select * from t_users where id = #{id}")
    public User findOne(@Param("id") Integer id);

}
